package singleton.demo05;

import singleton.demo01.Singleton01;

public class Test {

    public static void main(String[] args) {

        Singleton01 instance1 = Singleton01.getInstance();
        Singleton01 instance2 = Singleton01.getInstance();
        System.out.println(instance1.hashCode() == instance2.hashCode());
    }
}
